﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
	
namespace BEGDC.PreContract.BLL
{
	public partial interface IEmail
    {
		//Get by id
		BEGDC.PreContract.DAL.Email GetEmail(System.Int32 emailID);
		
		//Get by filter
		DataTable GetEmail_DataTable(string filter);
		
		//Delete
		void DeleteEmail(System.Int32 emailID); 
		
		//Add
		int AddEmail(System.String className, Nullables.NullableInt32 preContractID, System.String emailContent, System.String cC, System.String subject, System.Boolean isSend, Nullables.NullableDateTime sendTime);	
		
		//Update
		bool UpdateEmail(System.Int32 emailID, System.String className, Nullables.NullableInt32 preContractID, System.String emailContent, System.String cC, System.String subject, System.Boolean isSend, Nullables.NullableDateTime sendTime);
		
	}

}



